home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000105_news@newsmaster….columbia.edu _Thu Jul 24 16:23:09 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA12947
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 24 Jul 1997 16:23:09 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA27518
  7.     for kermit.misc@watsun; Thu, 24 Jul 1997 16:23:08 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: I wonder why
  12. Date: 24 Jul 1997 20:23:05 GMT
  13. Organization: Columbia University
  14. Lines: 41
  15. Message-ID: <5r8dj9$dj9$1@apakabar.cc.columbia.edu>
  16. References: <5r524l$2l$1@news2.voicenet.com> <5r5neg$sa1$1@apakabar.cc.columbia.edu> <5r7frf$klc$1@news2.voicenet.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7383
  19.  
  20. In article <5r7frf$klc$1@news2.voicenet.com>,
  21. Christopher Mosley <cmosley@voicenet.com> wrote:
  22. : What I am doing is piping the contents of a post in the newsreading
  23. : program "tin" through a filter that turns the contents of that post into a
  24. : file and then runs a sh script that downloads that file to my PC using
  25. : kermit protocol, after this is done control is again returned to the "tin
  26. : process".
  27. I'm not familiar with tin, but I'm familiar with trn.  At the trn prompt,
  28. after it shows you an article, you can give a "pipe" command, like "| lpr"
  29. if you want to print the article.  If you want to download it with Kermit,
  30. just do: 
  31.  
  32.   | kermit -s -
  33.  
  34. or for fast startup and transfer using C-Kermit 6.0:
  35.  
  36.   | kermit -YQs -
  37.  
  38. But since it's not a file, Kermit doesn't have a name for it, and so sends
  39. it under the name "STDIN".  Of course, you can give it an "as-name":
  40.  
  41.   | kermit -YQs - -a article.txt
  42.  
  43. : Since "kermit -C "send $file"" leaves you in interactive mode I believed
  44. : that "kermit -C "send $file""  and  "echo send $file | kermit"  were
  45. : basically functionally the same.
  46. :
  47. No, because the second form causes Kermit to sense an "end of file" on
  48. standard input and therefore exit automatically.
  49.  
  50. : Doing this I discovered that I can use kermit protocol to download
  51. : from standard input, Unfortunately  this can only be done
  52. : using kermit -s - , and this didn't work either.
  53. It should work.  If it doesn't work for you (as shown in the example
  54. above, which works here using SunOS 4.1 on the host and MS-DOS Kermit
  55. on the local end, just like you have), follow up by sending email to
  56. kermit-support@columbia.edu.
  57.  
  58. - Frank